package com.weilus.util.crypt;

public class CryptException extends RuntimeException{
    private String code;
    private String msg;

    public CryptException(){}

    public CryptException(CryptError error){
        this.code = error.code;
        this.msg = error.msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
